package com.cloudpan.entity.pojo;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户信息表
 * </p>
 *
 * @author sc
 * @since 2023-10-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="SysUserInfo对象", description="用户信息表")
@TableName("sys_user_info")
public class SysUserInfo implements Serializable {

    private static final long serialVersionUID=1L;

      @ApiModelProperty(value = "用户id")
      @TableId(value = "user_id", type = IdType.ASSIGN_ID)
      private String userId;

      @ApiModelProperty(value = "学号或教师id")
      private String numberId;

      @ApiModelProperty(value = "头像")
      private String avatar;

      @ApiModelProperty(value = "用户昵称")
      private String nickName;

      @ApiModelProperty(value = "手机号")
      private String phone;

      @ApiModelProperty(value = "用户邮箱")
      private String email;

      @ApiModelProperty(value = "密码")
      private String password;

      @ApiModelProperty(value = "创建时间")
      @TableField(fill = FieldFill.INSERT)
      private LocalDateTime createTime;

      @ApiModelProperty(value = "修改时间")
      @TableField(fill = FieldFill.INSERT_UPDATE)
      private LocalDateTime updateTime;

      @ApiModelProperty(value = "最后一次登陆的时间")
      @TableField(fill = FieldFill.INSERT_UPDATE)
      private LocalDateTime lastLoginTime;

      @ApiModelProperty(value = "1禁用  0启用")
      private String status;

      @ApiModelProperty(value = "使用空间单位")
      private Long useSpace;

      @ApiModelProperty(value = "逻辑删除 0 未注销 1 注销")
      private String delFlag;

      @ApiModelProperty(value = "总空间")
      private Long totalSpace;


}
